﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;


namespace _004_类_对象_类成员简介
{
    internal class Program
    {
        static void Main(string[] args)
        {
            //类初始化 new Form(); ()构造器 在内存中初始化 
            //(new Form())为新创建的实例

            //(new Form()).Text = "My Form";
            //(new Form()).ShowDialog();

            //引用变量
            //Form myForm1;
            //Form myForm2;

            //myForm1 = new Form();
            //myForm1.Text = "新建的窗体";
            //myForm1.ShowDialog();

            double x = Math.Sqrt(4);
            double y = Math.Pow(2, 3);
            Console.WriteLine(x);
            Console.WriteLine(y);
            
        }
    }
}
